package com.wkr.order.feignclient;

import com.wkr.common.CommonResponse;
import com.wkr.order.service.fallback.StoreFallBackService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "store", fallback = StoreFallBackService.class)
public interface StoreFeignClient {

    @PostMapping("/store/train/update")
    CommonResponse<Boolean> updateTrainStore();
}
